#include "teststl.h"
#include "xdefine.h"
#include <set>

using namespace std;
void TestStl::testSet()
{
    std::set<UINT32> set1;
    std::set<UINT32> set2;

    UINT32 a[5]={1,2,3,4,5};

    for(UINT32 i=0;i<5;i++)
    {
        set1.insert(a[i]);
    }
    printf("%d\n",set1.size());
    
    set2.insert(set1.begin(),set1.end());

    printf("%d\n",set2.size());
}
